package br.erbase.android.nextwo;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;


public class Tela2 extends Activity {
	
	Intent intent;
	String lido;

	public void onCreate(Bundle savedInstanceState)
	{
	super.onCreate(savedInstanceState);
	setContentView(R.layout.tela2);
	
	//recebe a intent enviada
	intent = getIntent();
	
	
	lido = intent.getStringExtra("input");
	
	// Create the text view
    TextView textView = new TextView(this);
    textView.setTextSize(40);
    textView.setText(lido);

    setContentView(textView);
	}
	
}
